package com.whmall.service.crm.module.supplierchemical.dao;
import com.whmall.component.entity.dto.OperatorReqDTO;
import com.whmall.service.crm.module.supplierchemical.entity.SupplierChemicalCraftAttachmentDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SupplierChemicalCraftAttachmentMapper{

    SupplierChemicalCraftAttachmentDO selectById(Long id);

    int insertSelective(SupplierChemicalCraftAttachmentDO record);

    int updateByIdSelective(SupplierChemicalCraftAttachmentDO record);

    int insertBatch(List<SupplierChemicalCraftAttachmentDO> list);

    List<SupplierChemicalCraftAttachmentDO> listByCraftId(Long craftId);

    void updateBatchDel(@Param("idList") List<Long> idList, @Param("updateId") Long updateId);
}